from libs.extensions.basebk import *

"""
def save(inst):
    method = "save_"
    method = getattr( sys.modules[__name__] , method+inst.__class__.__name__)
    if callable(method):
        method(inst)
    
def drop(inst):
    method = "drop_"
    method = getattr( sys.modules[__name__] ,method+inst.__class__.__name__)
    if callable(method):
        method(inst)
"""

def save_User(inst):
    print "doh"
    return True

def drop_User(inst):
    print "dohnt"
    return True
